import java.util.Scanner;
public class Main1967 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        String s=scanner.next();
        System.out.println(s.getBytes()[0]);
    }
}
